﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Web;

namespace MLSMooc.Session.Interface
{
    public interface ISessionService<T>
    {
        Task<string> EnSerializeEncryptAsync(T t);

        string EnSerializeEncrypt(T t);

        Task<T> DeSerializeDecryptAsync(string str);

        T DeSerializeDecrypt(string str);
    }
}